﻿using System;

namespace EP.Base.BaseService.Manager.Model.Entity
{
    public class IndexBackupLog
    {
        /// <summary>
        /// Id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// IndexConfigId
        /// </summary>
        public int IndexConfigId { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string Repository { get; set; }
        /// <summary>
        /// 快照名称
        /// </summary>
        public string SnapshotName { get; set; }
        /// <summary>
        /// 0失败 1已执行 2已成功 3已删除
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime DeleteTime { get; set; }
        /// <summary>
        /// es处理状态
        /// </summary>
        public string EsHandelState { get; set; }
        /// <summary>
        /// 最后检测时间
        /// </summary>
        public DateTime LastCheckTime { get; set; }
    }
}
